(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[280],{221:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[username]",function(){return s(97)}])},1150:function(e,t,s){"use strict";s.d(t,{Qr:function(){return g},ed:function(){return C},h0:function(){return v}});var c=s(4051),l=s.n(c),r=s(9669),a=s.n(r);function i(e,t,s,c,l,r,a){try{var i=e[r](a),n=i.value}catch(o){return void s(o)}i.done?t(n):Promise.resolve(n).then(c,l)}function n(e){return function(){var t=this,s=arguments;return new Promise((function(c,l){var r=e.apply(t,s);function a(e){i(r,c,l,a,n,"next",e)}function n(e){i(r,c,l,a,n,"throw",e)}a(void 0)}))}}function o(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function d(e,t,s){return(d=o()?Reflect.construct:function(e,t,s){var c=[null];c.push.apply(c,t);var l=new(Function.bind.apply(e,c));return s&&u(l,s.prototype),l}).apply(null,arguments)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t){return!t||"object"!==m(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function f(e){var t="function"===typeof Map?new Map:void 0;return f=function(e){if(null===e||(s=e,-1===Function.toString.call(s).indexOf("[native code]")))return e;var s;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,c)}function c(){return d(e,arguments,h(this).constructor)}return c.prototype=Object.create(e.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),u(c,e)},f(e)}function w(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var s,c=h(e);if(t){var l=h(this).constructor;s=Reflect.construct(c,arguments,l)}else s=c.apply(this,arguments);return x(this,s)}}function v(){return p.apply(this,arguments)}function p(){return(p=n(l().mark((function e(){var t,s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a().get("".concat("https://api.uuid.host/","/bio"));case 3:return t=e.sent.data,e.abrupt("return",t);case 7:throw e.prev=7,e.t0=e.catch(0),s=e.t0.response.data.error,new z("".concat(s.charAt(0).toUpperCase()+s.slice(1),"."));case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}function g(){return j.apply(this,arguments)}function j(){return(j=n(l().mark((function e(){var t,s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a().get("".concat("https://api.uuid.host/","/bio/stats"));case 3:return t=e.sent.data,e.abrupt("return",t);case 7:throw e.prev=7,e.t0=e.catch(0),s=e.t0.response.data.error,new z("".concat(s.charAt(0).toUpperCase()+s.slice(1),"."));case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}function C(e){return b.apply(this,arguments)}function b(){return(b=n(l().mark((function e(t){var s,c;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a()({url:"".concat("https://api.uuid.host/","/bio/view/").concat(t),method:"PUT",withCredentials:!0});case 3:return s=e.sent.data,e.abrupt("return",s);case 7:throw e.prev=7,e.t0=e.catch(0),c=e.t0.response.data.error,new z("".concat(c.charAt(0).toUpperCase()+c.slice(1),"."));case 11:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}var z=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e);var t=w(s);function s(e){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(c=t.call(this,e)).name="APIError",c}return s}(f(Error))},97:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return H},default:function(){return D}});var c=s(5893),l=s(2962),r=s(1163),a=s(7294),i=s(1150),n=s(9547),o=s.n(n),d=(s(2755),s(615));function h(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function x(e){var t=e.bio,s={date:new Date},l=(0,a.useState)(s),r=l[0].date,i=l[1];setInterval((function(){i((function(e){return function(e){for(var t=1;t100?(0,c.jsxs)("div",{className:"flex flex-col",children:[(0,c.jsx)("div",{className:"md:w-48 w-24 bg-darkM-900 rounded-full h-2.5",children:(0,c.jsx)("div",{className:"bg-lightGrey h-2.5 rounded-full",style:{width:"100%"}})}),(0,c.jsxs)("div",{className:"flex justify-between md:w-48 w-24",children:[(0,c.jsx)("div",{className:"whitespace-normal",children:new Date(new Date(e.timestamps.end).getTime()-new Date(e.timestamps.start).getTime()).toISOString().slice(14,19)}),(0,c.jsx)("div",{className:"whitespace-normal",children:new Date(new Date(e.timestamps.end).getTime()-new Date(e.timestamps.start).getTime()).toISOString().slice(14,19)})]})]}):(0,c.jsxs)("div",{className:"flex flex-col",children:[(0,c.jsx)("div",{className:"md:w-48 w-24 bg-darkM-900 rounded-full h-2.5",children:(0,c.jsx)("div",{className:"bg-lightGrey h-2.5 rounded-full",style:{width:"".concat((r.getTime()-new Date(e.timestamps.start).getTime())/(new Date(e.timestamps.end).getTime()-new Date(e.timestamps.start).getTime())*100,"%")}})}),(0,c.jsxs)("div",{className:"flex justify-between md:w-48 w-24",children:[(0,c.jsx)("div",{className:"whitespace-normal",children:new Date(r.getTime()-new Date(e.timestamps.start).getTime()).toISOString().slice(14,19)}),(0,c.jsx)("div",{className:"whitespace-normal",children:new Date(new Date(e.timestamps.end).getTime()-new Date(e.timestamps.start).getTime()).toISOString().slice(14,19)})]})]});if(e.timestamps.end&&null==e.timestamps.start)return(0,c.jsxs)("div",{className:"whitespace-normal",children:[new Date(new Date(e.timestamps.end).getTime()-r.getTime()).toISOString().slice(11,19)," left"]});if(e.timestamps.start&&null==e.timestamps.end)return(0,c.jsxs)("div",{className:"whitespace-normal",children:[new Date(r.getTime()-new Date(e.timestamps.start).getTime()).toISOString().slice(11,19)," elapsed"]})}};return(0,c.jsx)(d.lr,{className:"mt-6 w-full sm:max-w-sm rounded-xl p-2",showArrows:!1,showStatus:!1,autoPlay:!0,stopOnHover:!0,infiniteLoop:!0,emulateTouch:!0,showThumbs:!1,children:t.bio_presence.activities.map((function(e){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o(),{id:"9e9f6fd7f5e85380",dynamic:[t.accentcolor+"66"],children:".carousel .control-dots{margin-top:1.5rem;margin-bottom:0px;opacity:.5}.carousel-root{background-color:".concat(t.accentcolor+"66","}")}),(0,c.jsxs)("div",{className:o().dynamic([["9e9f6fd7f5e85380",[t.accentcolor+"66"]]])+" flex w-full sm:max-w-sm items-center text-left gap-4 rounded-xl p-2",children:[(0,c.jsx)("div",{className:o().dynamic([["9e9f6fd7f5e85380",[t.accentcolor+"66"]]])+" flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:(0,c.jsx)("img",{draggable:!1,src:e.assets.largeImage,alt:"",className:o().dynamic([["9e9f6fd7f5e85380",[t.accentcolor+"66"]]])+" h-20 w-20 rounded-lg min-w-[5rem] max-w-[5rem]"})}),(0,c.jsxs)("div",{className:o().dynamic([["9e9f6fd7f5e85380",[t.accentcolor+"66"]]]),children:[(0,c.jsx)("p",{className:o().dynamic([["9e9f6fd7f5e85380",[t.accentcolor+"66"]]])+" font-semibold whitespace-normal",children:e.name}),(0,c.jsxs)("div",{className:o().dynamic([["9e9f6fd7f5e85380",[t.accentcolor+"66"]]])+" text-sm text-gray-300",children:[(0,c.jsx)("div",{className:o().dynamic([["9e9f6fd7f5e85380",[t.accentcolor+"66"]]])+" whitespace-normal",children:e.details}),(0,c.jsx)("div",{className:o().dynamic([["9e9f6fd7f5e85380",[t.accentcolor+"66"]]])+" whitespace-normal",children:e.state}),n(e)]})]})]})]})}))})}var u=s(4931),m=function(e){switch(e){case"success":return(0,c.jsx)(u.KM,{});case"error":return(0,c.jsx)(u.Pz,{});case"info":return(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"24px",height:"24px",children:[(0,c.jsx)("path",{fill:"#8bb7f0",d:"M20,38.5C9.8,38.5,1.5,30.2,1.5,20S9.8,1.5,20,1.5S38.5,9.8,38.5,20S30.2,38.5,20,38.5z"}),(0,c.jsx)("path",{fill:"none",stroke:"#4e7ab5","stroke-miterlimit":"10",d:"M20,38.5C9.8,38.5,1.5,30.2,1.5,20S9.8,1.5,20,1.5S38.5,9.8,38.5,20S30.2,38.5,20,38.5z"}),(0,c.jsx)("path",{fill:"#fff",d:"M20,10c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S21.1,10,20,10z"}),(0,c.jsx)("path",{fill:"#fff",d:"M22,28V16h-5v1h1v11h-1v1h6v-1H22z"})]})}},f=function(e){switch(e){case"success":return"Success";case"error":return"Error";case"info":return"Info"}},w=function(e,t){return u.ZP.custom((function(s){return(0,c.jsxs)("div",{className:"relative flex max-w-md transform-gpu flex-row items-center justify-between rounded-lg bg-darkM-900 text-white shadow-2xl transition-all duration-500 ease-in-out hover:shadow-none lg:w-auto ".concat(s.visible?"top-0":"-top-96"),children:[(0,c.jsx)("div",{className:"flex h-full items-center rounded-l-lg border-r border-r-zinc-700 bg-neutral-800 p-3 px-5 text-xl",children:m(t)}),(0,c.jsxs)("div",{className:"flex items-center p-3",children:[(0,c.jsxs)("div",{className:"ml-4 flex cursor-default flex-col items-start justify-center",children:[(0,c.jsx)("h1",{className:"mr-auto w-60 text-base font-semibold text-gray-200",children:f(t)}),(0,c.jsx)("span",{className:"text-sm text-gray-400",children:e})]}),(0,c.jsx)("button",{onClick:function(){return u.ZP.dismiss(s.id)},className:"h-8 rounded p-1 px-3 duration-300 hover:bg-darkM-800",children:"X"})]})]})}),{position:"top-right",duration:2e3})},v=s(9743),p=s(9008),g=s.n(p),j=s(4258),C=s(8857);function b(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function z(e){for(var t=1;tk.length&&(L=0),setTimeout((function(){return e()}),150)}():t.animatedTitle||u((function(e){return z({},e,{pageTitle:t.title})}));window.matchMedia("(min-width: 768px)").addEventListener("change",(function(e){return u((function(t){return z({},t,{bigScreen:e.matches})}))})),window.innerWidth>768?u((function(e){return z({},e,{bigScreen:!0})})):u((function(e){return z({},e,{bigScreen:!1})}))}),[]);var Z,S,V,A,H=(0,a.useRef)(null),D=(0,a.useRef)(null),_=new RegExp(/\s/).test(t.description),F=function(e){switch(!0){case e.includes("spotify"):return(0,c.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[h&&(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"h-7 w-7 text-[#0d5928] duration-300 hover:scale-110",viewBox:"0 0 16 16",children:(0,c.jsx)("path",{d:"M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.669 11.538a.498.498 0 0 1-.686.165c-1.879-1.147-4.243-1.407-7.028-.77a.499.499 0 0 1-.222-.973c3.048-.696 5.662-.397 7.77.892a.5.5 0 0 1 .166.686zm.979-2.178a.624.624 0 0 1-.858.205c-2.15-1.321-5.428-1.704-7.972-.932a.625.625 0 0 1-.362-1.194c2.905-.881 6.517-.454 8.986 1.063a.624.624 0 0 1 .206.858zm.084-2.268C10.154 5.56 5.9 5.419 3.438 6.166a.748.748 0 1 1-.434-1.432c2.825-.857 7.523-.692 10.492 1.07a.747.747 0 1 1-.764 1.288z"})}),"Spotify"]});case e.includes("youtube"):return(0,c.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[h&&(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"h-7 w-7 text-[#630101] duration-300 hover:scale-110",viewBox:"0 0 16 16",children:(0,c.jsx)("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"})}),"Youtube"]});case e.includes("twitch"):return(0,c.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[h&&(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"h-7 w-7 text-[#362359] duration-300 hover:scale-110",viewBox:"0 0 16 16",children:[(0,c.jsx)("path",{d:"M3.857 0 1 2.857v10.286h3.429V16l2.857-2.857H9.57L14.714 8V0H3.857zm9.714 7.429-2.285 2.285H9l-2 2v-2H4.429V1.143h9.142v6.286z"}),(0,c.jsx)("path",{d:"M11.857 3.143h-1.143V6.57h1.143V3.143zm-3.143 0H7.571V6.57h1.143V3.143z"})]}),"Twitch"]});case e.includes("soundcloud"):return(0,c.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[h&&(0,c.jsxs)("svg",{fill:"#632e00",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",width:"30px",height:"30px",children:[(0,c.jsx)("path",{d:"M1.448 15.732c-.064 0-.116.051-.125.121l-.295 2.694.295 2.634c.008.07.061.122.125.122.063 0 .114-.05.125-.121l.336-2.635-.336-2.694C1.563 15.782 1.512 15.732 1.448 15.732zM.339 16.763c-.063 0-.112.049-.12.117L0 18.547l.219 1.638c.008.069.058.117.12.117.061 0 .11-.048.12-.116l.26-1.639-.26-1.667C.45 16.812.4 16.763.339 16.763zM2.628 15.203c-.08 0-.142.062-.15.147l-.28 3.197.28 3.08c.007.085.071.147.15.147.078 0 .141-.062.15-.147l.318-3.081-.318-3.197C2.768 15.265 2.706 15.203 2.628 15.203zM3.816 15.091c-.093 0-.169.074-.176.173l-.264 3.284.264 3.177c.008.098.083.173.176.173.092 0 .168-.074.175-.173l.301-3.177-.301-3.285C3.983 15.165 3.908 15.091 3.816 15.091zM5.215 15.5c-.007-.113-.095-.198-.202-.198-.108 0-.195.085-.202.199l-.249 3.047.249 3.203c.007.112.094.199.202.199.107 0 .194-.085.202-.199l.283-3.203L5.215 15.5zM6.221 13.367c-.121 0-.221.098-.227.225L5.76 18.549l.234 3.203c.007.125.106.224.227.224.12 0 .22-.099.227-.225v.001l.265-3.203-.265-4.958C6.441 13.466 6.341 13.367 6.221 13.367zM7.419 12.226c-.136 0-.247.11-.253.25l-.219 6.091.219 3.184C7.172 21.89 7.283 22 7.419 22c.135 0 .247-.11.252-.25v.002l.248-3.184-.247-6.092C7.666 12.335 7.554 12.226 7.419 12.226zM8.665 11.675c-.151 0-.273.122-.278.277l-.204 6.599.204 3.151c.006.154.127.275.278.275.15 0 .272-.121.278-.276v.002l.231-3.151-.231-6.6C8.937 11.797 8.815 11.675 8.665 11.675zM10.206 11.73c-.006-.17-.139-.302-.304-.302-.166 0-.299.133-.304.302l-.189 6.821.189 3.131c.005.168.138.3.304.3.165 0 .298-.132.304-.302l.213-3.129L10.206 11.73zM11.148 11.577c-.181 0-.325.144-.33.328l-.174 6.647.174 3.101c.004.182.149.326.329.326.18 0 .324-.144.329-.328v.002l.196-3.102-.196-6.648C11.472 11.72 11.328 11.577 11.148 11.577zM12.403 11.793c-.195 0-.352.156-.355.353l-.158 6.404.158 3.082c.004.196.159.352.355.352.195 0 .351-.155.355-.353v.003l.178-3.082-.178-6.405C12.755 11.949 12.598 11.793 12.403 11.793zM13.88 10.617c-.061-.041-.133-.065-.21-.065-.075 0-.145.023-.205.062-.104.067-.173.185-.175.318l-.001.072-.143 7.547c0 .005.143 3.064.143 3.064 0 .005.001.008.001.013.005.085.037.164.089.226.07.084.175.138.292.138.103 0 .198-.042.266-.112.068-.068.113-.163.114-.268l.016-.303.144-2.757-.16-7.622C14.048 10.801 13.98 10.685 13.88 10.617z"}),(0,c.jsx)("path",{d:"M14.049 21.615L14.049 21.614 14.049 21.615 14.049 21.613 14.05 21.612 14.049 21.613 14.049 21.614zM15.136 9.894c-.061-.037-.131-.058-.206-.058-.097 0-.187.035-.256.093-.09.074-.148.187-.15.312l-.001.042-.166 8.271.084 1.529.083 1.488c.003.22.185.402.407.402.22 0 .403-.182.406-.405v.004l0 0 .181-3.017 0 0-.181-8.313C15.333 10.094 15.253 9.965 15.136 9.894zM26.31 14.619c-.505 0-.988.102-1.427.287-.293-3.325-3.083-5.934-6.484-5.934-.833 0-1.643.164-2.361.441-.278.108-.352.218-.355.434v11.711c.003.226.178.401.398.424.009.001 10.228 0 10.228 0 2.038 0 3.69-1.634 3.69-3.672C30 16.271 28.348 14.619 26.31 14.619z"})]}),"SoundCloud"]})}},T=function(e){switch(!0){case e.includes("spotify"):return"#1DB954";case e.includes("youtube"):return"#FF0000";case e.includes("twitch"):return"#6441a5";case e.includes("soundcloud"):return"#ff7700"}};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(g(),{children:(0,c.jsx)("title",{children:d})}),t.autoplayfix&&(0,c.jsx)("div",{className:"".concat(p?"animate-fadeOut hidden":"flex h-screen w-screen items-center justify-center hover:cursor-pointer"),onClick:function(){var e,t,s;b(!0),null===(t=null===(e=H.current)||void 0===e?void 0:e.audio.current)||void 0===t||t.play(),null===(s=D.current)||void 0===s||s.play()},children:"Click Anywhere To See My Bio (Bio From AgentXD.com)"}),(0,c.jsxs)("div",{className:"".concat(t.autoplayfix?"".concat(p?"animate-fadeIn":"hidden"):""),children:[(0,c.jsx)("div",{className:"fixed z-5 w-screen h-screen",children:""!==t.background.url&&function(e){switch(e.background.type){case"video":return(0,c.jsxs)("video",{ref:D,autoPlay:p,draggable:!1,loop:!0,muted:!0,playsInline:!0,className:"absolute object-cover w-full h-full",children:[(0,c.jsx)("source",{src:e.background.url,type:"video/mp4"}),"Your browser does not support the video tag."]});case"image":return(0,c.jsx)("img",{className:"absolute object-cover w-full h-full",draggable:!1,src:e.background.url})}}(t)}),(0,c.jsx)("div",{className:"flex min-h-[90vh] justify-center px-6",children:(0,c.jsxs)("div",{className:"sm:m-auto m-3 w-full z-10 max-w-3xl rounded-lg p-5",style:{backgroundColor:t.primarycolor+"fa"},children:[(0,c.jsxs)("div",{className:"flex items-center gap-4 border-b pb-4 md:flex-nowrap flex-wrap",style:{borderBottomColor:t.accentcolor},children:[(0,c.jsx)("img",{src:t.pfp.url,alt:"",className:"h-24 w-24 rounded-full",draggable:!1}),(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{className:"flex flex-row items-center gap-1",children:[(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-eye",viewBox:"0 0 16 16",children:[(0,c.jsx)("path",{d:"M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"}),(0,c.jsx)("path",{d:"M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"})]}),t.views]}),(0,c.jsxs)("div",{className:"flex items-center gap-2",children:[(0,c.jsx)("p",{className:"text-xl font-semibold",children:t.name}),(0,c.jsx)("div",{className:"flex flex-row gap-1.5",children:(A=t,A.ranks.map((function(e){switch(e){case"Rich":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsxs)("svg",{height:"24",viewBox:"0 0 330 330",width:"24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"Layer_1",x:"0px",y:"0px",xmlSpace:"preserve",fill:"#85bb65",children:[(0,c.jsxs)("g",{id:"XMLID_71_",children:[(0,c.jsx)("path",{id:"XMLID_85_",d:"M280,263.768V195c0-51.241-33.69-94.756-80.08-109.574l34.684-28.903C238.022,53.673,240,49.452,240,45 c0-24.813-20.188-45-45-45h-60c-24.813,0-45,20.187-45,45c0,4.452,1.977,8.673,5.396,11.523l34.684,28.903 C83.689,100.244,50,143.759,50,195v68.768C34.394,275.988,25,294.906,25,315c0,8.284,6.716,15,15,15h250c8.284,0,15-6.716,15-15 C305,294.906,295.605,275.988,280,263.768z M174.729,261.476v5.352c0,3.655-3.49,6.86-7.469,6.86c-4.119,0-7.471-3.078-7.471-6.86 v-4.46c-18.539-1.526-30.162-12.478-30.162-20.108c0-4.339,3.803-9.579,8.524-9.579c2.818,0,4.656,1.912,6.602,3.936 c2.715,2.824,6.637,6.902,15.035,8.1v-36.731c-12.663-4.493-27.449-10.609-27.449-31.34c0-16.518,9.945-27.131,27.449-29.551 v-3.912c0-3.789,3.352-6.871,7.471-6.871c3.979,0,7.469,3.211,7.469,6.871v3.509c9.55,1.016,22.928,4.554,22.928,12.906 c0,4.002-3.188,9.584-8.377,9.584c-1.887,0-3.525-0.835-5.422-1.803c-2.178-1.109-4.97-2.533-9.129-3.298v30.134 c10.191,3.845,25.645,11.352,25.645,34.317C200.373,246.212,191.082,258.048,174.729,261.476z"}),(0,c.jsx)("path",{id:"XMLID_88_",d:"M149.84,175.744c0,6.788,3.209,10.102,10.258,13.165v-24.543 C149.839,166.638,149.84,173.359,149.84,175.744z"}),(0,c.jsx)("path",{id:"XMLID_89_",d:"M174.28,213.971v29.6c5.669-2.262,8.439-6.922,8.439-14.133 C182.719,221.503,179.695,217.209,174.28,213.971z"})]}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{})]}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:A.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Owner":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#cc0011"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:A.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Developer":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#450006"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:A.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Admin":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#ff4d5c"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:A.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Staff":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#020275"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:A.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Beta":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#fbff00"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:A.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Premium":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#1da1f2"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:A.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]})}})))})]}),(0,c.jsx)("p",{className:"text-sm text-gray-300 ".concat(_?"":"truncate max-w-[50vw] md:max-w-[40vw]"),children:t.description})]})]}),t.presence&&null!==t.bio_presence&&(0,c.jsxs)("div",{className:"flex md:flex-row flex-col w-full justify-between gap-2",children:[(0,c.jsxs)("div",{className:"mt-6 flex w-full md:max-w-md px-8 items-center gap-4 rounded-xl p-2",style:{backgroundColor:t.accentcolor+"66"},children:[(0,c.jsx)("img",{src:t.bio_presence.pfp,className:"h-16 w-16 rounded-full border-4 ".concat(N(t.bio_presence.status)),draggable:!1,alt:""}),(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{className:"flex mt-2 items-center gap-2 md:flex-nowrap flex-wrap",children:[(0,c.jsx)("p",{className:"text-sm md:text-lg font-semibold",children:t.bio_presence.tag.replace(/[\u0000-\u001F\u007F-\u009F\u200B\u1CBB\u1CBC]/g,"")}),(0,c.jsx)("div",{className:"flex flex-row gap-0.5",children:null!==t.bio_presence.badges&&M(t)})]}),null!==t.bio_presence.customStatus&&(0,c.jsxs)("div",{className:"text-sm text-gray-300 flex flex-row gap-2",children:[null!==t.bio_presence.customStatus.emoji?(0,c.jsx)("img",{draggable:!1,src:t.bio_presence.customStatus.emoji,className:"h-5 w-5",alt:""}):(0,c.jsx)(c.Fragment,{}),t.bio_presence.customStatus.name]})]})]}),t.bio_presence.activities.length>0?(0,c.jsx)(x,{bio:t}):(0,c.jsx)("div",{className:"mt-6 flex w-full md:max-w-md px-8 justify-center items-center gap-4 rounded-xl p-2",style:{backgroundColor:t.accentcolor+"66"},children:(0,c.jsx)("p",{className:"text-lg font-semibold",children:"The user isn't playing anything"})})]}),t.songs.length>0&&(0,c.jsx)("div",{className:"mt-6 flex w-full px-8 items-center gap-4 rounded-xl p-2",style:{backgroundColor:t.accentcolor+"66"},children:(0,c.jsx)(v.Z,{ref:H,autoPlay:p,header:o?"Now playing: "+B.name.replace(/\.[^/.]+$/,"").replaceAll("_"," "):"Now playing: -",src:B.url,showSkipControls:!0,showJumpControls:!1,volume:.5,onPlay:function(){return u((function(e){return z({},e,{isMusicPlaying:!0})}))},onClickPrevious:function(){u((function(e){return z({},e,{currentMusicIndex:0===e.currentMusicIndex?t.songs.length-1:e.currentMusicIndex-1})}))},onClickNext:m,onEnded:m,customAdditionalControls:[]})}),(0,c.jsxs)("div",{className:"mt-5 w-full",children:[" ",(0,c.jsx)("div",{className:"mt-4 flex justify-center gap-4 flex-wrap",children:(S=t.socials,V=t.accentcolor,S.map((function(e){if(""!==e.name&&""!==e.url)return e.url.startsWith("https://")||e.url.startsWith("http://")||e.url.startsWith("mailto:")?(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",onClick:function(){open(e.url)},children:[(0,c.jsx)("div",{className:" flex cursor-pointer flex-col items-center justify-center rounded-3xl p-2 shadow-lg transition-all duration-300 ease-linear hover:rounded-xl hover:text-white hover:shadow-darkM-700/20",style:{backgroundColor:V+"80"},children:y(e.name)}),(0,c.jsx)("div",{className:"relative flex justify-center",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:V+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:"Personal"==e.name?new URL(e.url).hostname:e.name})})})]}):(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",onClick:function(){w("Text copied to clipboard","info"),navigator.clipboard.writeText(e.url)},children:[(0,c.jsx)("div",{className:" flex cursor-pointer flex-col items-center justify-center rounded-3xl p-2 shadow-lg transition-all duration-300 ease-linear hover:rounded-xl hover:text-white hover:shadow-darkM-700/20",style:{backgroundColor:V+"80"},children:y(e.name)}),(0,c.jsx)("div",{className:"relative flex justify-center",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:V+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e.url})})})]})})))})]}),(0,c.jsx)("div",{className:"mt-5 w-full",children:(0,c.jsx)("div",{className:"mt-2 flex justify-center items-center gap-4 flex-row w-full",children:(Z=t.embeds,Z.map((function(e){if(""!==e)return(0,c.jsxs)(j.p,{className:"flex flex-col",as:"div",children:[(0,c.jsx)(j.p.Button,{className:"",children:(0,c.jsx)("button",{type:"button",style:{backgroundColor:"".concat(T(e)),width:"".concat(h?44/Z.filter((function(e){return""!==e})).length:17/Z.filter((function(e){return""!==e})).length,"rem")},className:"rounded p-1 px-2 text-sm font-semibold transition-all ease-in-out active:translate-y-[2px]",children:F(e)})}),(0,c.jsx)(C.u,{as:a.Fragment,enter:"ease-out duration-200",enterFrom:"opacity-30",enterTo:"opacity-100 scale-100",leave:"ease-in duration-100",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,c.jsx)(j.p.Panel,{className:"absolute left-0 right-0 ml-auto mr-auto mt-10 w-[calc(100%-4.5rem)] z-10 max-w-3xl pb-8",children:(0,c.jsx)("div",{className:"border-b-2 border-b-darkM-900 p-3 rounded-bl-xl rounded-br-xl",style:{backgroundColor:t.primarycolor+"fa"},children:(0,c.jsx)("iframe",{className:"rounded-xl",src:e,width:"99%",height:e.includes("open.spotify.com/embed/track/")?"80px":"160px",frameBorder:"0",allowFullScreen:!1,allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"})})})})]})})))})})]})})]})]})}function k(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function B(e){for(var t=1;tC.length&&(j=0),setTimeout((function(){return e()}),150)}():t.animatedTitle||h((function(e){return B({},e,{pageTitle:t.title})}))}),[]);var z,y,N,M,L=new RegExp(/\s/).test(t.description),k=(0,a.useRef)(null),A=(0,a.useRef)(null);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(g(),{children:(0,c.jsx)("title",{children:d})}),t.autoplayfix&&(0,c.jsx)("div",{className:"".concat(f?"animate-fadeOut hidden":"flex h-screen w-screen items-center justify-center hover:cursor-pointer"),onClick:function(){var e,t,s;p(!0),null===(t=null===(e=k.current)||void 0===e?void 0:e.audio.current)||void 0===t||t.play(),null===(s=A.current)||void 0===s||s.play()},children:"Click Anywhere"}),(0,c.jsxs)("div",{className:"flex flex-col justify-center ".concat(t.autoplayfix?"".concat(f?"animate-fadeIn":"hidden"):""),children:[(0,c.jsx)("div",{className:"static flex h-[26vh] z-5 w-full rounded bg-darkM-700",children:""!==t.background.url&&function(e){switch(e.background.type){case"video":return(0,c.jsxs)("video",{ref:A,autoPlay:f,draggable:!1,loop:!0,muted:!0,playsInline:!0,className:"object-cover w-full h-full",children:[(0,c.jsx)("source",{src:e.background.url,type:"video/mp4"}),"Your browser does not support the video tag."]});case"image":return(0,c.jsx)("img",{className:"object-cover w-full h-full",draggable:!1,src:e.background.url})}}(t)}),(0,c.jsxs)("div",{className:"static mx-auto flex z-10 flex-col items-center gap-2 pb-12 md:w-auto w-screen",children:[(0,c.jsx)("div",{className:"-mt-12 rounded-full border-4 border-darkGrey",children:(0,c.jsx)("img",{src:t.pfp.url,alt:"",className:"h-32 w-32 rounded-full",draggable:!1})}),(0,c.jsxs)("div",{className:"flex flex-row items-center gap-1",children:[(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-eye",viewBox:"0 0 16 16",children:[(0,c.jsx)("path",{d:"M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"}),(0,c.jsx)("path",{d:"M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"})]}),t.views]}),(0,c.jsxs)("div",{className:"flex items-center gap-2",children:[(0,c.jsx)("h1",{className:"max-w-md break-words text-center text-2xl font-medium",children:t.name}),(0,c.jsx)("div",{className:"flex flex-row gap-1.5",children:(M=t,M.ranks.map((function(e){switch(e){case"Rich":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsxs)("svg",{height:"24",viewBox:"0 0 330 330",width:"24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"Layer_1",x:"0px",y:"0px",xmlSpace:"preserve",fill:"#85bb65",children:[(0,c.jsxs)("g",{id:"XMLID_71_",children:[(0,c.jsx)("path",{id:"XMLID_85_",d:"M280,263.768V195c0-51.241-33.69-94.756-80.08-109.574l34.684-28.903C238.022,53.673,240,49.452,240,45 c0-24.813-20.188-45-45-45h-60c-24.813,0-45,20.187-45,45c0,4.452,1.977,8.673,5.396,11.523l34.684,28.903 C83.689,100.244,50,143.759,50,195v68.768C34.394,275.988,25,294.906,25,315c0,8.284,6.716,15,15,15h250c8.284,0,15-6.716,15-15 C305,294.906,295.605,275.988,280,263.768z M174.729,261.476v5.352c0,3.655-3.49,6.86-7.469,6.86c-4.119,0-7.471-3.078-7.471-6.86 v-4.46c-18.539-1.526-30.162-12.478-30.162-20.108c0-4.339,3.803-9.579,8.524-9.579c2.818,0,4.656,1.912,6.602,3.936 c2.715,2.824,6.637,6.902,15.035,8.1v-36.731c-12.663-4.493-27.449-10.609-27.449-31.34c0-16.518,9.945-27.131,27.449-29.551 v-3.912c0-3.789,3.352-6.871,7.471-6.871c3.979,0,7.469,3.211,7.469,6.871v3.509c9.55,1.016,22.928,4.554,22.928,12.906 c0,4.002-3.188,9.584-8.377,9.584c-1.887,0-3.525-0.835-5.422-1.803c-2.178-1.109-4.97-2.533-9.129-3.298v30.134 c10.191,3.845,25.645,11.352,25.645,34.317C200.373,246.212,191.082,258.048,174.729,261.476z"}),(0,c.jsx)("path",{id:"XMLID_88_",d:"M149.84,175.744c0,6.788,3.209,10.102,10.258,13.165v-24.543 C149.839,166.638,149.84,173.359,149.84,175.744z"}),(0,c.jsx)("path",{id:"XMLID_89_",d:"M174.28,213.971v29.6c5.669-2.262,8.439-6.922,8.439-14.133 C182.719,221.503,179.695,217.209,174.28,213.971z"})]}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{}),(0,c.jsx)("g",{})]}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:M.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Owner":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#cc0011"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:M.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Developer":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#450006"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:M.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Admin":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#ff4d5c"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:M.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Staff":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#020275"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:M.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Beta":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#fbff00"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:M.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]});case"Premium":return(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",children:[(0,c.jsx)("svg",{height:"24",viewBox:"0 0 512 512",width:"24",xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("path",{d:"m512 268c0 17.9-4.3 34.5-12.9 49.7s-20.1 27.1-34.6 35.4c.4 2.7.6 6.9.6 12.6 0 27.1-9.1 50.1-27.1 69.1-18.1 19.1-39.9 28.6-65.4 28.6-11.4 0-22.3-2.1-32.6-6.3-8 16.4-19.5 29.6-34.6 39.7-15 10.2-31.5 15.2-49.4 15.2-18.3 0-34.9-4.9-49.7-14.9-14.9-9.9-26.3-23.2-34.3-40-10.3 4.2-21.1 6.3-32.6 6.3-25.5 0-47.4-9.5-65.7-28.6-18.3-19-27.4-42.1-27.4-69.1 0-3 .4-7.2 1.1-12.6-14.5-8.4-26-20.2-34.6-35.4-8.5-15.2-12.8-31.8-12.8-49.7 0-19 4.8-36.5 14.3-52.3s22.3-27.5 38.3-35.1c-4.2-11.4-6.3-22.9-6.3-34.3 0-27 9.1-50.1 27.4-69.1s40.2-28.6 65.7-28.6c11.4 0 22.3 2.1 32.6 6.3 8-16.4 19.5-29.6 34.6-39.7 15-10.1 31.5-15.2 49.4-15.2s34.4 5.1 49.4 15.1c15 10.1 26.6 23.3 34.6 39.7 10.3-4.2 21.1-6.3 32.6-6.3 25.5 0 47.3 9.5 65.4 28.6s27.1 42.1 27.1 69.1c0 12.6-1.9 24-5.7 34.3 16 7.6 28.8 19.3 38.3 35.1 9.5 15.9 14.3 33.4 14.3 52.4zm-266.9 77.1 105.7-158.3c2.7-4.2 3.5-8.8 2.6-13.7-1-4.9-3.5-8.8-7.7-11.4-4.2-2.7-8.8-3.6-13.7-2.9-5 .8-9 3.2-12 7.4l-93.1 140-42.9-42.8c-3.8-3.8-8.2-5.6-13.1-5.4-5 .2-9.3 2-13.1 5.4-3.4 3.4-5.1 7.7-5.1 12.9 0 5.1 1.7 9.4 5.1 12.9l58.9 58.9 2.9 2.3c3.4 2.3 6.9 3.4 10.3 3.4 6.7-.1 11.8-2.9 15.2-8.7z",fill:"#1da1f2"})}),(0,c.jsx)("div",{className:"relative flex justify-center z-10",children:(0,c.jsx)("div",{className:"fixed mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:M.accentcolor+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e})})})]})}})))})]}),(0,c.jsx)("p",{className:"break-words text-center font-medium text-gray-300 ".concat(L?"max-w-lg":"truncate max-w-[50vw] md:max-w-lg md:overflow-visible md:whitespace-normal"),children:t.description}),(0,c.jsxs)("div",{className:"mt-3 w-full",children:[" ",(0,c.jsx)("div",{className:"mb-4 flex justify-center gap-4 flex-wrap",children:(y=t.socials,N=t.accentcolor,y.map((function(e){if(""!==e.name&&""!==e.url)return e.url.startsWith("https://")||e.url.startsWith("http://")||e.url.startsWith("mailto:")?(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",onClick:function(){open(e.url)},children:[(0,c.jsx)("div",{className:" flex cursor-pointer flex-col items-center justify-center rounded-3xl p-2 shadow-lg transition-all duration-300 ease-linear hover:rounded-xl hover:text-white hover:shadow-darkM-700/20",style:{backgroundColor:N+"80"},children:Z(e.name)}),(0,c.jsx)("div",{className:"relative flex justify-center",children:(0,c.jsx)("div",{className:"absolute mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:N+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e.name})})})]}):(0,c.jsxs)("div",{className:"group flex cursor-pointer flex-col items-center justify-center transition-all duration-300 ease-linear",onClick:function(){w("Text copied to clipboard","info"),navigator.clipboard.writeText(e.url)},children:[(0,c.jsx)("div",{className:" flex cursor-pointer flex-col items-center justify-center rounded-3xl p-2 shadow-lg transition-all duration-300 ease-linear hover:rounded-xl hover:text-white hover:shadow-darkM-700/20",style:{backgroundColor:N+"80"},children:Z(e.name)}),(0,c.jsx)("div",{className:"relative flex justify-center",children:(0,c.jsx)("div",{className:"absolute mt-2 scale-0 rounded p-2 text-sm font-semibold text-white shadow-lg transition-all duration-300 group-hover:scale-100",style:{backgroundColor:N+"80"},children:(0,c.jsx)("p",{className:"hidden w-full max-w-2xl group-hover:block",children:e.url})})})]})})))})]}),t.songs.length>0&&(0,c.jsx)("div",{className:"w-full p-2 md:min-w-[40rem] rounded-lg text-center",style:{backgroundColor:t.primarycolor},children:(0,c.jsx)(v.Z,{ref:k,autoPlay:f,header:o?"Now playing: "+b.name.replace(/\.[^/.]+$/,"").replaceAll("_"," "):"Now playing: -",src:b.url,showSkipControls:!0,showJumpControls:!1,volume:.5,onPlay:function(){return h((function(e){return B({},e,{isMusicPlaying:!0})}))},onClickPrevious:function(){h((function(e){return B({},e,{currentMusicIndex:0===e.currentMusicIndex?t.songs.length-1:e.currentMusicIndex-1})}))},onClickNext:u,onEnded:u,customAdditionalControls:[]})}),(0,c.jsx)("div",{className:"px-0.65 w-full",children:t.presence&&null!==t.bio_presence&&(0,c.jsxs)("div",{className:"flex w-full mt-2 flex-col rounded-lg p-4 justify-center items-center",style:{backgroundColor:t.primarycolor},children:[(0,c.jsxs)("div",{className:"flex gap-4 pb-4 border-b border-b-darkM-800 w-full justify-center",children:[(0,c.jsx)("img",{src:t.bio_presence.pfp,className:"h-16 w-16 rounded-full border-4 ".concat(S(t.bio_presence.status)),draggable:!1,alt:""}),(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{className:"flex mt-2 items-center gap-2",children:[(0,c.jsx)("p",{className:"text-lg font-semibold",children:t.bio_presence.tag.replace(/[\u0000-\u001F\u007F-\u009F\u200B\u1CBB\u1CBC]/g,"")}),(0,c.jsx)("div",{className:"flex flex-row gap-0.5",children:null!==t.bio_presence.badges&&V(t)})]}),null!==t.bio_presence.customStatus&&(0,c.jsxs)("div",{className:"text-sm text-gray-300 flex flex-row gap-2",children:[null!==t.bio_presence.customStatus.emoji?(0,c.jsx)("img",{draggable:!1,src:t.bio_presence.customStatus.emoji,className:"h-5 w-5",alt:""}):(0,c.jsx)(c.Fragment,{}),t.bio_presence.customStatus.name]})]})]}),t.bio_presence.activities.length>0?(0,c.jsx)(x,{bio:t}):(0,c.jsx)("div",{className:"mt-6 flex w-full md:max-w-md px-8 justify-center items-center gap-4 rounded-xl bg-darkM-800/40 p-2",style:{backgroundColor:t.accentcolor+"66"},children:(0,c.jsx)("p",{className:"text-lg font-semibold",children:"The user isn't playing anything"})})]})}),(0,c.jsx)("div",{className:"mt-2 flex justify-center items-center gap-4 flex-col w-full",children:(z=t.embeds,z.map((function(e){if(""!==e)return(0,c.jsx)("iframe",{className:"rounded-xl",src:e,width:"99%",height:e.includes("open.spotify.com/embed/track/")?"80px":"250px",frameBorder:"0",allowFullScreen:!1,allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"})})))})]})]})]})}var H=!0;function D(e){var t=e.bio,s=e.musicIndex,n=(0,r.useRouter)().query.username;return!0===t.countViews&&(0,a.useEffect)((function(){(0,i.ed)(n.toString())}),[]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(l.PB,{title:t.name,description:t.description,additionalMetaTags:[{property:"theme-color",content:t.color}],openGraph:{title:t.name,description:t.description,images:[{url:t.pfp.url,alt:t.description}]}}),function(e){switch(e){case 0:return(0,c.jsx)(L,{bio:t,musicIndex:s});case 1:return(0,c.jsx)(A,{bio:t,musicIndex:s})}}(t.layout)]})}}},function(e){e.O(0,[669,360,774,888,179],(function(){return t=221,e(e.s=t);var t}));var t=e.O();_N_E=t}]);